package com.myframework.smhj.hibernate;

/**
 * 排序参数
 *
 * @author mo_yq5
 * @since 2016年4月9日
 */
public class Sort {

	private String field = null;
	
	private boolean isDesc = false;
	
	public Sort() {
		
	}
	
	public Sort(String field) {
		this.field = field;
	}
	
	public Sort(String field, boolean isDesc) {
		this.field = field;
		this.isDesc = isDesc;
	}

	public String getField() {
		return field;
	}

	public void setField(String field) {
		this.field = field;
	}

	public boolean isDesc() {
		return isDesc;
	}

	public void setDesc(boolean isDesc) {
		this.isDesc = isDesc;
	}

}
